/**
 * 客户案例
 * 路由
 */
const express = require("express");
const router = express.Router();
// 检验器
const { getCustomerCaseList_validation, getCustomerCaseDetail_validation, editCustomerCase_validation } = require("../validators/customerCase");
// 控制器
const { getCustomerCaseList, getCustomerCaseDetail, editCustomerCase, deleteCustomerCase } = require("../controllers/customerCase");

router.get("/getCustomerCaseList", getCustomerCaseList_validation, getCustomerCaseList); // 展会活动列表
router.get("/getCustomerCaseDetail", getCustomerCaseDetail_validation, getCustomerCaseDetail); // 展会活动详情
router.post("/editCustomerCase", editCustomerCase_validation, editCustomerCase); // 展会活动编辑
router.delete("/deleteCustomerCase", getCustomerCaseDetail_validation, deleteCustomerCase); // 删除展会活动

module.exports = router;
